Skip to main content

Responces

CodeResponse/error messageComments
200SuccessSuccessful request, response contain information about object, shop, device and taxes
200Validation errorsThere were validation errors while processing
200Error: “device with the given token not found”
200Error: “certificate not found”
200Error: “device not active”
200Errors in the signature

Validation errors

Error messageCode
"object with the given fiscal ID not found"NO_OBJECT_FOUND
"certificate not found""NO_CERT_FOUND"
"incorrect date and time of operation""WRONG_DATE_TIME"
"parent fiscal num must be present""MISSING_PARENT_FISCAL_NUM"
"the date and time is less than the last invoice time""WRONG_DATE_TIME_FOR_LAST_INV"
"amount due does not equal total amount minuse the sum of all payments""WRONG_AMOUNT_DUE"
"amount due is positive, but neither a payment due dat nor payment terms are provided""NO_PAYMENT_DUE_DETAILS"
"total net amount does not match the sum of all item amounts""WRONG_TOTAL_NET_AMOUNT"
"amount does not equal price * quantity for item with name/lineId %s""WRONG_ITEM_AMOUNT"
"tax amount for tax code '%s' (rate %.2f) does not equal base * rate for item with name/lineId '%s'""WRONG_TAX_AMOUNT"
"these tax codes with rates are invalid: (list of tax codes-rates)""NO_TAX_CODES_RATES_FOUND"
"these taxes with rates are missing from total taxes: (list of tax codes-rates)""UNEXPECTED_TAXES"
"these taxes with rates are unexpected in total taxes: (list of tax codes-rates)""MISSING_TAXES"
"these taxes with tax rates have incorrect total amounts: (list of tax codes-rates)""WRONG_TOTAL_TAX_AMOUNTS"
"vatTotalAC does not equal to sum of taxTotal tax amounts""WRONG_VAT_TOTAL_AC"
(required fields are missing or have a wrong format)WRONG_FORMAT
Other errorsOTHER

Example:

{
"fiscalNum": "OA10074",
"status": "success",
"url": "https://ofd-check-view.kampispay.com/receipt?f=FN00000008&n=OA10074&t=1778076441"
}